package com.macro.mall.mgb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品评价表
 * </p>
 *
 * @author wangwang
 * @since 2025-07-21
 */
    @Data
    @TableName("pms_comment")
    @EqualsAndHashCode(callSuper = false)
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id")
    private Long id;

    private Long productId;

    private String memberNickName;

    private String productName;

            /**
             * 评价星数：0->5
             */
    private Integer star;

            /**
             * 评价的ip
             */
    private String memberIp;

    private Date createTime;

    private Integer showStatus;

            /**
             * 购买时的商品属性
             */
    private String productAttribute;

    private Integer collectCouont;

    private Integer readCount;

    private String content;

            /**
             * 上传图片地址，以逗号隔开
             */
    private String pics;

            /**
             * 评论用户头像
             */
    private String memberIcon;

    private Integer replayCount;

    }